tinymce.init({
    selector : "textarea.mceEditorAdditional",
    theme: "modern",
    height: 500,
    width: 657,
    plugins: [
        "advlist autolink lists link image charmap print preview hr anchor pagebreak",
        "searchreplace wordcount visualblocks visualchars code fullscreen",
        "insertdatetime media nonbreaking save table contextmenu directionality ",
        "emoticons paste textcolor spellchecker"
    ],
    toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
    toolbar2: "cut copy paste pastetext pasteword | print preview media | forecolor backcolor emoticons",
    image_advtab: true,
//    spellchecker_language : "bg",
//    spellchecker_rpc_url : '/shared/spellchecker',
    language : 'bg_BG'
});
//
//tinymce.init({
//    selector : "textarea.mceEditor",
//    theme: "modern",
//    height: 500,
//    plugins: [
//        "advlist autolink lists link image charmap print preview hr anchor pagebreak",
//        "searchreplace wordcount visualblocks visualchars code fullscreen",
//        "insertdatetime media nonbreaking save table contextmenu directionality ",
//        "emoticons paste textcolor spellchecker"
//    ],
//    toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
//    toolbar2: "cut copy paste pastetext pasteword | print preview media | forecolor backcolor emoticons",
//    image_advtab: true,
//    spellchecker_language : "bg",
//    spellchecker_rpc_url : '/shared/spellchecker',
//    language : 'bg_BG'
//});
